package com.module.assignment;

import java.util.ArrayList;
import java.util.List;

import com.game.base.NonPerformer;

/**
 * 委派发送器，放置拥有的所有委派
 * @author chzcb
 * @email chzcb2008@gmail.com
 * @date 2011-9-29
 *
 */
public class AssignmentSender extends NonPerformer {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1392412632460567037L;

	protected List<Integer> allReceiver = new ArrayList<Integer>();
	
	public void addConnect(AssignmentReceiver receiver){
		allReceiver.add(receiver.id);
		this.addObserver(receiver);
	}
}
